package com.ziyucoding.springboot.labs.statemachine.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 订单
 *
 * @author ziyucoding
 * @date 2023-05-29
 **/
@Data
@TableName("t_order")
public class Order {

    @TableId
    private BigInteger id;

    @TableField("order_code")
    private String orderCode;

    private Integer status;

    private String name;

    private BigDecimal price;

    @TableField("delete_flag")
    private Integer deleteFlag;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("create_user_code")
    private String createUserCode;

    @TableField("update_user_code")
    private String updateUserCode;

    private Integer version;

    private String remark;

}
